﻿using AutoMapper;
using FFLTask.BLL.Entity;
using FFLTask.SRV.ViewModel.Task;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FFLTask.SRV.ProdService.ViewModelMap.Helper;


namespace FFLTask.SRV.ViewModelMap.TaskMapAuto
{
    internal class _HistoryItemModelMap
    {
        internal static void init()
        {
            Mapper.CreateMap<HistoryItem, TaskHistoryItemModel>()
                //.ForMember(h=>h.Attachments, opt=>opt.NullSubstitute(new ))
                .IgnoreAllNonExisting()
                ;
        }
    }
}
